Ext.define('DCApp.view.task.Detail', {
    extend: 'DCApp.view.Detail',
    alias: 'widget.Taskdetail',
    
    bind: {
        title: '用户 - 【{theObj.id}】'
    },
    
    componentCls: 'task-detail',
    bodyPadding: 0,
    
    controller: 'detail',
    
    afterRender: function(ct, position) {
    	this.callParent();
    },
    items: [{
    	title: 'Panel 0',
        flex: 2,
        frame: false,
        xtype: 'container',
        layout: 'anchor',
        style: {
            overflow: 'auto'
        },

items: [
	{
		title : '任务详情',
		margin : '0 0 10 0',
		cls : 'nav_pos',
		reference : 'form',
		bodyPadding : 10,
		fieldDefaults : {
			labelAlign : 'right',
			labelWidth : 100,
			padding : 3
		},
		defaults : {
			anchor : '100%'
		},
		xtype: 'form',        
        items: [
{
	xtype: 'container',
	layout: 'hbox',
	defaultType: 'textfield',
	items:[
	{
	flex: 1,
	fieldLabel: 'title',
	bind: '{theObj.title}'
	},	{
	flex: 1,
	fieldLabel: 'description',
	bind: '{theObj.description}'
	}	]
}                
                ]}]


    }]
});
